import request from "@/utils/request.js";

/**
 * 微信用户激活
 */
export function active(data) {
	return request.get('production/active', data);
}

/**
 * 获取产品分类
 */
export function getClassification() {
	return request.get('production/getClassification', {});
}

/**
 * 获取产品详情
 */
export function getDetail(data) {
	return request.get('production/getDetail', data);
}

/**
 * 获取产品系列
 */
export function getFamily(data) {
	return request.get('production/getFamily', data);
}

/**
 * 获取产品列表
 */
export function getList(data) {
	return request.get('production/getList', data);
}

/**
 * 获取上游供应商
 */
export function getUpSupplier(data) {
	return request.get('production/getUpSupplier', data);
}

/**
 * 门店售出
 */
export function sale(data) {
	return request.get('production/sale', data);
}
